package com.cxso.example.request.etc;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.Date;


@Getter
@Setter
public class EtcWaybillEndRequest {

    @Schema(description = "运单编号")
    @NotBlank(message = "运单编号不能为空")
    private String waybillNum;

    @Schema(description = "运单实际目的地址")
    @NotBlank(message = "运单实际目的地址不能为空")
    private String realDestAddr;

    @Schema(description = "运单实际结束时间，格式：yyyy-MM-DDTHH:mm:ss")
    @NotNull(message = "运单实际结束时间不能为空")
    private Date endTime;
}
